// * 请求响应参数(不包含data)
export interface Result {
  code: string;
  msg: string;
}

// * 请求响应参数(包含data)
export interface ResultData<T = any> extends Result {
  data: T;
}

// * 分页响应参数
export interface ResPage<T> {
  datalist: T[];
  pageNum: number;
  pageSize: number;
  total: number;
}

// * 分页请求参数
export interface ReqPage {
  pageNum: number;
  pageSize: number;
}

// * 文件上传模块
export namespace Upload {
  export interface ResFileUrl {
    fileUrl: string;
  }
}

// * 登录模块
export namespace Login {
  export interface ReqLoginForm {
    username: string;
    password: string;
    verificationCode: string;
    languagetype: string;
    key: string;
  }
  export interface setPassword {
    username: string;
    tel: string;
    verificationCode: string;
    password: string;
    password4Check: string;
    key: string;
    type:Number
  }
}

// * 竞拍详情
export namespace projectDetails {
  export interface DetailsForm {
    attachmentFileList: any;
    noticeList: any;
    supplementalNoticeList: any;
    shipInformationCertificateList: any;
    letterOfConfirmationList: any;
    proofOfHandoverList: any;
    biddingEntrustmentAgreementList: any;
    contractOfSaleList: any;
    reportOfTransactionsList: any;
    evaluationReportList: any;
    inspectionReportList: any;
    otherList: any;
    imgurlList: any;
    imgpayurlList: any;
    enterpriseLicenseList: any;
    corporateIdCardList: any;
    poaBidderInternalPersonnelList: any;
    internalAuthorizedPersonnelIdCardList: any;
    anotherList: any;
  }
}
